﻿using System;
using System.Runtime.Serialization;

namespace Common
{
    [DataContract]
    public class ReviewedArticle : HsePSObject
    {
        public ReviewedArticle()
        {
            ID = Guid.NewGuid().ToString();
            CreationTime = DateTime.Now;
        }

        [DataMember]
        public string ID { get; private set; }
        [DataMember]
        public DateTime CreationTime { get; private set; }
        [DataMember]
        public string ReviewerID { get; set; }
        [DataMember]
        public string ReviewID { get; set; }
        [DataMember]
        public string ArticleID { get; set; }
    }
}